<template>
  <div id="app">
    <v-touch v-on:swiperight="swiperRight" class="wrapper">
        <keep-alive>
            <router-view v-if="$route.meta.keepAlive"/>
        </keep-alive>
        <router-view v-if="!$route.meta.keepAlive"/>
    </v-touch>
  </div>
</template>

<script>
export default {
  name: "app",
  components: {},
  methods: {
    swiperRight() {
      this.$router.go(-1);
    }
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #333;
}
</style>
